package com.example.proramqdemo.ramq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/*********************************************************
 * @Author ONE_LLX
 * @Description //TODO 
 * @Date 17:43 2019/11/24
 * @Class RabbitMQConfig
 * @Version v1.0
 *********************************************************/
@Configuration
public class RabbitMQConfig {


    @Bean
    public Queue queue(){
        return new Queue("rabbit-test1");
    }
}
